﻿using L.M.System.Application.IServices;
using L.M.System.Domain.DTO;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace L.M.System.Read.API.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class Button_listReadController : ControllerBase
    {
        private readonly IButton_listServices button_ListServices;
        public Button_listReadController(IButton_listServices button_ListServices)
        {
            this.button_ListServices = button_ListServices;
        }

        /// <summary>
        /// 获取阶级
        /// </summary>
        /// <returns>获取阶级</returns>
        [HttpGet]
        public IActionResult GetButtonLinforShow()
        {
            return Ok(button_ListServices.GetButtonLinforShow());
        }

    }
}
